﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>เพิ่มโรงควบคุม</title>
</head>
<style>
#header{
	height: 32px;
	margin-right: 20px;
	margin-left: 2px;
}

#header_titile{
	float: left;
}

#main{
	width:800px;
	margin: 0 auto 0 auto;
	border: 1px solid #E5E5E5;
	padding: 26px 24px 46px;
}

#user_info{
	float: right;
	font-size: 14px;
/*	line-height: 26px; */
	height: 25px;
	position: relative;
/*	z-index: 49; */
	border-style: solid;
	border-width: 0;
	/* margin-top: 3px; */
	padding: 0 2px 0 6px;
	display:block;
}

body{
	font-family:tahoma;
	font-size:14px;	
}
</style>
<body>
<div id="main">
<div id="header" >เพิ่มโรงควบคุม<div id="user_info">สวัสดีคุณผู้ใช้ นาย ก <a href="index.html">ออกจากระบบ</a></div>
</div>
<br />

<?php echo form_open("plant/add_plant"); ?>
<table border="1" cellspacing="0">
  <tr >
    <th width="200">รายการ</th>
    <th width="200">ค่า</th>
    </tr>
  <tr>
  	<td>โรงควบคุม</td>
    <td>
    	<input type="text" name="plant_name" class="input" value="<?php echo set_value('plant_name'); ?>" size="20" tabindex="10" />
    	<?php echo form_error("plant_name", "<br/><font color='error'>","</font>"); ?>
    </td>
    </tr>
</table>
<br />
<input type="submit" name="btsubmit" value="เพิ่ม" />
<a href="<?php echo site_url('plant') ?>">ยกเลิก</a>
<?php echo form_close() ?>
<?php 
	echo "<font color='error'>";
	echo $err_msg;
	echo "</font>";
?>
</form>
</div>
</body>
</html>
